package com.itheima.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

/**
* @author zelda
* @description 针对表【category(菜品及套餐分类)】的数据库操作Mapper
* @createDate 2022-05-04 16:49:39
* @Entity com.yanghao.pojo.Category
*/
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {
    int insertCategory(Category category);

    Long selectIdByName(String name);
}




